﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace NNote {
	static class Program {
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main(string[] args) {
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			var form = new MainForm();
			if (args.Length > 0) {
				var filename = string.Join(" ", args);
				form.OpenFile(filename);
			}
			Application.Run(form);
		}
	}
}
